<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:tns="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" elementFormDefault="qualified" targetNamespace="http://schemas.datacontract.org/2004/07/HMS.DataContract.Response" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:complexType name="ArrayOfLocationResponse">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="LocationResponse" nillable="true" type="tns:LocationResponse" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfLocationResponse" nillable="true" type="tns:ArrayOfLocationResponse" />
  <xs:complexType name="LocationResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:LookUp">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="LocationResponse" nillable="true" type="tns:LocationResponse" />
  <xs:complexType name="LookUp">
    <xs:sequence>
      <xs:element minOccurs="0" name="CreatedBy" type="xs:int" />
      <xs:element minOccurs="0" name="CreatedDate" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Detail" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="ModifiedBy" type="xs:int" />
      <xs:element minOccurs="0" name="ModifiedDate" type="xs:dateTime" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="LookUp" nillable="true" type="tns:LookUp" />
  <xs:complexType name="ArrayOfDoctorResponse">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="DoctorResponse" nillable="true" type="tns:DoctorResponse" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfDoctorResponse" nillable="true" type="tns:ArrayOfDoctorResponse" />
  <xs:complexType name="DoctorResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:LookUp">
        <xs:sequence />
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="DoctorResponse" nillable="true" type="tns:DoctorResponse" />
  <xs:complexType name="ArrayOfDoctorAppointmentResponse">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="DoctorAppointmentResponse" nillable="true" type="tns:DoctorAppointmentResponse" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfDoctorAppointmentResponse" nillable="true" type="tns:ArrayOfDoctorAppointmentResponse" />
  <xs:complexType name="DoctorAppointmentResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:LookUp">
        <xs:sequence>
          <xs:element minOccurs="0" name="AccessCode" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="AppointmentDateTime" type="xs:dateTime" />
          <xs:element minOccurs="0" name="AppointmentStatus" nillable="true" type="tns:LookUp" />
          <xs:element minOccurs="0" name="DocId" type="xs:int" />
          <xs:element minOccurs="0" name="DocLocId" type="xs:int" />
          <xs:element minOccurs="0" name="DoctorEmail" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DoctorName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="DoctorPhone" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="ErrorMessage" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="FollowUpStatus" type="xs:boolean" />
          <xs:element minOccurs="0" name="LocId" type="xs:int" />
          <xs:element minOccurs="0" name="LocName" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Patient" nillable="true" type="tns:PatientResponse" />
          <xs:element minOccurs="0" name="Purpose" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="_AppointmentDateTime" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="isNew" type="xs:boolean" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="DoctorAppointmentResponse" nillable="true" type="tns:DoctorAppointmentResponse" />
  <xs:complexType name="PatientResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:LookUp">
        <xs:sequence>
          <xs:element minOccurs="0" name="Allergies" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Clinic" nillable="true" type="tns:ClinicResponse" />
          <xs:element minOccurs="0" name="DOB" type="xs:dateTime" />
          <xs:element minOccurs="0" name="Email" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Gender" nillable="true" type="tns:LookUp" />
          <xs:element minOccurs="0" name="LocId" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Name" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Phone" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="_DOB" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="PatientResponse" nillable="true" type="tns:PatientResponse" />
  <xs:complexType name="ClinicResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:LookUp">
        <xs:sequence>
          <xs:element minOccurs="0" name="Address" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Code" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="LandingPageUrl" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="Phone" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="ClinicResponse" nillable="true" type="tns:ClinicResponse" />
  <xs:complexType name="ArrayOfMonthChart">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="MonthChart" nillable="true" type="tns:MonthChart" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfMonthChart" nillable="true" type="tns:ArrayOfMonthChart" />
  <xs:complexType name="MonthChart">
    <xs:sequence>
      <xs:element minOccurs="0" name="Count" type="xs:int" />
      <xs:element minOccurs="0" name="Date" type="xs:dateTime" />
      <xs:element minOccurs="0" name="DoctorEmail" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DoctorName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="DoctorNumber" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="MonthChart" nillable="true" type="tns:MonthChart" />
  <xs:complexType name="ArrayOfDailyList">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="DailyList" nillable="true" type="tns:DailyList" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfDailyList" nillable="true" type="tns:ArrayOfDailyList" />
  <xs:complexType name="DailyList">
    <xs:sequence>
      <xs:element minOccurs="0" name="AppointmentTime" type="xs:dateTime" />
      <xs:element minOccurs="0" name="ApptStatusId" type="xs:int" />
      <xs:element minOccurs="0" name="DoctorLocId" type="xs:int" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="IsFollowUp" type="xs:boolean" />
      <xs:element minOccurs="0" name="PatientEmail" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PatientId" type="xs:int" />
      <xs:element minOccurs="0" name="PatientName" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="PatientNumber" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Purpose" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DailyList" nillable="true" type="tns:DailyList" />
  <xs:complexType name="ArrayOfPatientResponse">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="PatientResponse" nillable="true" type="tns:PatientResponse" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfPatientResponse" nillable="true" type="tns:ArrayOfPatientResponse" />
  <xs:complexType name="AppointmentDocumentResponse">
    <xs:complexContent mixed="false">
      <xs:extension base="tns:LookUp">
        <xs:sequence>
          <xs:element minOccurs="0" name="Prescription" nillable="true" type="xs:string" />
          <xs:element minOccurs="0" name="_PrescriptionDateTime" nillable="true" type="xs:string" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:element name="AppointmentDocumentResponse" nillable="true" type="tns:AppointmentDocumentResponse" />
  <xs:complexType name="UserInfo">
    <xs:sequence>
      <xs:element minOccurs="0" name="ClinicCode" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="ClinicId" type="xs:int" />
      <xs:element minOccurs="0" name="Detail" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Id" type="xs:int" />
      <xs:element minOccurs="0" name="UserName" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="UserInfo" nillable="true" type="tns:UserInfo" />
  <xs:complexType name="ArrayOfAppointmentDocumentResponse">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="AppointmentDocumentResponse" nillable="true" type="tns:AppointmentDocumentResponse" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfAppointmentDocumentResponse" nillable="true" type="tns:ArrayOfAppointmentDocumentResponse" />
  <xs:complexType name="ArrayOfLookUp">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="LookUp" nillable="true" type="tns:LookUp" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfLookUp" nillable="true" type="tns:ArrayOfLookUp" />
  <xs:complexType name="ArrayOfFinanceReportResponse">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="FinanceReportResponse" nillable="true" type="tns:FinanceReportResponse" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="ArrayOfFinanceReportResponse" nillable="true" type="tns:ArrayOfFinanceReportResponse" />
  <xs:complexType name="FinanceReportResponse">
    <xs:sequence>
      <xs:element minOccurs="0" name="Amt_Paid" type="xs:decimal" />
      <xs:element minOccurs="0" name="Appt_Date" type="xs:dateTime" />
      <xs:element minOccurs="0" name="Balance" type="xs:decimal" />
      <xs:element minOccurs="0" name="Patient_Name" nillable="true" type="xs:string" />
      <xs:element minOccurs="0" name="Total" type="xs:decimal" />
      <xs:element minOccurs="0" name="_Appt_Date" nillable="true" type="xs:string" />
    </xs:sequence>
  </xs:complexType>
  <xs:element name="FinanceReportResponse" nillable="true" type="tns:FinanceReportResponse" />
</xs:schema>